.svg-marked {
    outline: 3px solid rgba(76, 175, 80, 0.8);
    outline-offset: 3px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
    border-radius: 4px;
}

.svg-marked:hover {
    outline-color: #45a049;
    outline-width: 4px;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.3);
    transform: scale(1.01);
}

.svg-button-container {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    padding: 5px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0 0 0 4px;
    box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.1);
}

.svg-marked:hover + .svg-button-container,
.svg-button-container:hover {
    opacity: 1;
    pointer-events: auto;
}

.svg-download-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.svg-download-btn:hover {
    background-color: #45a049;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.svg-download-btn:active {
    background-color: #3d8b40;
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
} 